package com.ruoyi.business.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校对象 t_school
 * 
 * @author lcz
 * @date 2025-02-20
 */
@ApiModel("学校对象")
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校ID */
    @ApiModelProperty("学校ID")
    private Long id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    @ApiModelProperty("学校名称")
    private String schoolName;

    /** 学校编号 */
    @Excel(name = "学校编号")
    @ApiModelProperty("学校编号")
    private String schoolNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSchoolNo(String schoolNo) 
    {
        this.schoolNo = schoolNo;
    }

    public String getSchoolNo() 
    {
        return schoolNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolName", getSchoolName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("schoolNo", getSchoolNo())
            .toString();
    }
}
